package com.xnyzc.lhy.order.entity.common.gps;

import com.xnyzc.lhy.order.entity.gps.OaDVehicleGpsHistory;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
public class HistoryEntity {
    private List<OaDVehicleGpsHistory> histories;
    //秒
    private BigDecimal time;
    //距离(米)
    private BigDecimal distance;
    /**
     * 猎鹰服务信息
     */
    private List<GpsHistoryInfo> gpsHistoryInfos;

    /**
     * 特殊时段信息
     */
    private List<Map<String,HistoryEntity>> specialHistory;

    public HistoryEntity() {
        this.histories = new ArrayList<>();
        this.specialHistory = new ArrayList<>();
        this.gpsHistoryInfos = new ArrayList<>();
        this.time = new BigDecimal(0);
        this.distance = new BigDecimal(0);
    }
}
